package com.dingreading.cloud.soms.service;

import com.dingreading.cloud.common.util.PageUtil;
import com.dingreading.cloud.soms.dto.MemberFollowDto;
import com.dingreading.cloud.soms.entity.MemberFollow;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface MemberFollowService extends IService<MemberFollow> {

    Page<MemberFollowDto> pageList(PageUtil pageUtil, String storeUid, String memberUid, String followUid,
                                   String beginDate, String endDate, String keyword, Integer source, String staffUid);

    List<MemberFollow> getList(String storeUid, String memberUid, String followUid, String beginDate, String endDate,
                               String keyword, Integer source, String staffUid);

    boolean haveFollowTypeUid(String storeUid, String followTypeUid);

    MemberFollow getBean(String uid);

    MemberFollowDto getDto(String uid);

    int dropBean(String storeUid, String memberUid, String uid);

}
